package com.zx.baofu.alcohol.service;

import com.zx.baofu.alcohol.model.ActiveTime;
import com.zx.baofu.alcohol.model.DailyLimit;
import com.zx.baofu.alcohol.model.Result;
import com.zx.baofu.alcohol.model.ShareMsg;
import org.springframework.stereotype.Repository;
import org.springframework.web.multipart.MultipartFile;

@Repository(value = "settingService")
public interface SettingService {
    ActiveTime getActiveTime();

    Result updateActiveTime(Integer id, String prizeName, Double prizeValue, Integer prizeNum, Integer totalNum
            , String start, String end, String manufacturer, String rule, String description, String prizeStart, String prizeEnd);

    DailyLimit getDailyLimit();

    Result updateDailyLimit(Integer id, int limit);

    ShareMsg getShareMsg();

    Result updateShareMsg(Integer id, String title, String img, String content);
}
